<?php
  # Classes de Modelo e PHPMailer
    
    require_once( CLASS_REQUIRE_INDEX );
    require_once( CLASS_FUNCTIONS );    
    require_once( CLASS_EMAIL );    
    

    class Rock20Controller extends IndexController{
        
        
        public function __construct(){
            parent::__construct();            
           
        }
        
        public function defaultAction(){                    
                        
                         
          
            parent::setAttribute("lateral","main_lateral.html");
            parent::setAttribute("view","main_rock20.html");
            parent::execute("main_index.html");  
            
        }          
            
        public function CidadeMobile(){
            
            
         
            parent::setAttribute("lateral","main_lateral.html");
            parent::setAttribute("view","main_cidade_mobile.html");
            parent::execute("main_index.html");     
            
        } 
        
        public function RSS(){
            
        
           
            parent::setAttribute("lateral","main_lateral.html");
            parent::setAttribute("view","main_rss.html");
            parent::execute("main_index.html");   
            
        }   
    
       public function Gadgets(){
            

            parent::setAttribute("lateral","main_lateral.html");
            parent::setAttribute("view","main_gadgets.html");
            parent::execute("main_index.html");  
            
        }   
    
        public function Iphone(){
            
       
            parent::setAttribute("lateral","main_lateral.html");
            parent::setAttribute("view","main_iphone.html");
            parent::execute("main_index.html");  
            
        }   
   
        public function toolbar(){
            
        
           
            parent::setAttribute("lateral","main_lateral.html");
            parent::setAttribute("view","main_toolbar.html");
            parent::execute("main_index.html");    
        }   
    
        
    
    }            
            
            
            
?>
